package com.dky.satell.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 本地任务表
 *
 * @TableName tb_local_task
 */
@TableName(value = "tb_local_task")
public class LocalTask implements Serializable {
    /**
     *
     */
    @TableId
    private Long id;

    /**
     * 类型
     */
    private String type;

    /**
     * 任务信息
     */
    private String content;

    /**
     * 处理次数
     */
    private Integer times;

    /**
     * 处理状态,0: 创建, 1: 处理中, 2: 结束
     */
    private Byte status;

    /**
     * 删除标识
     */
    private Byte deleted;

    /**
     *
     */
    private Date createTime;

    /**
     *
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    public Long getId() {
        return id;
    }

    /**
     *
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 类型
     */
    public String getType() {
        return type;
    }

    /**
     * 类型
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 任务信息
     */
    public String getContent() {
        return content;
    }

    /**
     * 任务信息
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 处理次数
     */
    public Integer getTimes() {
        return times;
    }

    /**
     * 处理次数
     */
    public void setTimes(Integer times) {
        this.times = times;
    }

    /**
     * 处理状态,0: 创建, 1: 处理中, 2: 结束
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 处理状态,0: 创建, 1: 处理中, 2: 结束
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * 删除标识
     */
    public Byte getDeleted() {
        return deleted;
    }

    /**
     * 删除标识
     */
    public void setDeleted(Byte deleted) {
        this.deleted = deleted;
    }

    /**
     *
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     *
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     *
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     *
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}